<template>
  <div class="box">
    <div class="top">
        <h1>饿了吗</h1>
        <h2>···</h2>
    </div>
    <div class="bottom">
        <input type="text" placeholder="请输入搜索内容">
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
    .box{
        height: 80px;
        box-sizing: border-box;
        padding: 10px;
        background-color: cornflowerblue;
    }
    .top{
        width: 100%;
        display: flex;
        justify-content: space-between;
        height: 30px;
        color: #fff;
    }
    .bottom{
        width: 100%;
        height: 30px;
    }
    input{
        height: 30px;
        border: 1px solid #eee;
        border-radius: 30px;
        width: 90%;
        margin-left: 2%;
        padding-left: 20px;
    }
</style>